package com.hong.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Created by John on 2018/11/25.
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages= {"com.hong.springcloud"}) //开启使用Feign
public class AppApplication_feign {
    public static void main(String[] args)
    {
        SpringApplication.run(AppApplication_feign.class, args);
    }
}
